package org.cabbage.lintcode;

public class PartitionArray {
    public static void main(String[] args) {

    }

    public int partitionArray(int[] nums, int k) {
        int index = 0;
        for (int num : nums) {
            if (num < k) {
                index++;
            }
        }
        return index;
    }
}
